export const routes = [
  {
    name: 'Manage',
    path: '/',
    component: ()=>import('@/components/layouts/Page.vue'),
    children: [
      {
        path: '/403',
        name: 'notPermit',
        component: ()=>import('@/views/error/NotPermit.vue'),
        hidden: true,
        meta: {
          title:"没有权限",
          isCache: true,
          skipFilter: true
        }
      },
      {
        name: 'Home',
        path: '/',
        component: ()=>import('@/views/system/Index.vue'),
        meta: {
          title: '首页',
          isNav: false,
          isCache: true,
          skipFilter: true
        }
      },
    ]
  },
  {
    name: 'Login',
    path: '/login',
    component:()=> import('@/views/Login.vue'),
    meta: {
      title: '登录',
      isCache: true, // 是否缓存
      isNav: false,
      skipFilter: true
    }
  },

  {
    path: '/404',
    name: 'notFound',
    component: ()=>import('@/views/error/NotFound.vue'),
    hidden: true,
    meta: {
      isCache: true,
      skipFilter: true
    }
  },
]
